package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.TransportApiApplyThirdpartyDTO;
import com.hunttown.mes.rpc.domain.query.TransportApiApplyThirdpartyDTOQuery;

/**
 * created by wangjunfu on 2022-04-10 09:48:00
 */
public interface TransportApiApplyThirdpartyRpcService {

    TransportApiApplyThirdpartyDTO insert(TransportApiApplyThirdpartyDTO transportApiApplyThirdpartyDTO);

    Boolean updateInfoById(TransportApiApplyThirdpartyDTO transportApiApplyThirdpartyDTO);

    Boolean updateInfoByQuery(TransportApiApplyThirdpartyDTOQuery transportApiApplyThirdpartyDTOQuery);

    TransportApiApplyThirdpartyDTO selectById(Integer id);

    TransportApiApplyThirdpartyDTO selectWithoutEntId(Integer id);

    TransportApiApplyThirdpartyDTO selectObjByQuery(TransportApiApplyThirdpartyDTOQuery transportApiApplyThirdpartyDTOQuery);

    Page<TransportApiApplyThirdpartyDTO> getListForPage(TransportApiApplyThirdpartyDTOQuery transportApiApplyThirdpartyDTOQuery);

    Boolean deleteById(Integer id);
}